package com.sam.im.heiqun.uis.activities;

import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.sam.im.heiqun.R;
import com.sam.im.heiqun.view.EditTextWithDel;
import com.yuyh.library.uis.activitys.BaseSwipeBackActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class CommunityActivity extends BaseSwipeBackActivity {

    @BindView(R.id.pre_v_back)
    ImageView preVBack;
    @BindView(R.id.pre_tv_title)
    TextView preTvTitle;
    @BindView(R.id.edittext)
    EditTextWithDel edittext;
    @BindView(R.id.right)
    ImageView right;
    @BindView(R.id.ok)
    TextView ok;
    @BindView(R.id.recyclerview)
    RecyclerView recyclerview;
    @BindView(R.id.swiperefresh)
    SwipeRefreshLayout swiperefresh;

    @Override
    public int getContentViewId() {
        return R.layout.activity_community;
    }

    @Override
    protected String getTitleText() {
        return getResources().getString(R.string.circle);
    }

    @Override
    protected void initViews(Bundle savedInstanceState) {
       right.setImageResource(R.drawable.write_circe);
    }

    @OnClick({R.id.pre_v_back, R.id.right})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.pre_v_back:
                break;
            case R.id.right:
                break;
        }
    }
}
